#!/bin/bash

# Alias: Customize service namespace
# Menu: Addons
# Description:
#  If sending traces is configured, they are sent with the "site_id" as the service namespace by
#  default, which can be changed to the string provided with this option.

case "$1" in
    default)
        echo ""
        ;;
    choices)
        echo "^[a-zA-Z0-9_\.-]*$"
        ;;
    depends)
        [ "$CONFIG_TRACE_SEND" = on ]
        ;;
esac
